#pragma once
#include "abstractnode.h"

class Loop : public AbstractNode
{
private:
	std::string * c_type;
	class AbstractNode * c_cond;
	class AbstractNode * c_code;
public:

	Loop(std::string * type, class AbstractNode * cond, class AbstractNode * code);

	void write(GraphStream * s);

	~Loop(void);
};

class LoopToDo : public AbstractNode
{
private:
	class AbstractNode * c_left;
	class AbstractNode * c_right;
	class AbstractNode * c_code;

public:
	LoopToDo(class AbstractNode * left, class AbstractNode * right, class AbstractNode * code);

	void write(GraphStream * s);

	~LoopToDo(void);
};